package net.vanchu.mortgagecalculator.splash;

import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.dtspread.apps.houseloan.R;
import com.dtspread.libs.splashscreen.SplashScreenActivity;

import net.vanchu.mortgagecalculator.mortgage.calculate.MainActivity;

/**
 * Created by grant on 16-12-27.
 */

public class WelcomeActivity extends SplashScreenActivity {

    @Override
    protected Class<?> getMainClass() {
        return MainActivity.class;
    }

    @Override
    protected void setupDefaultLayout(RelativeLayout relativeLayout) {
        relativeLayout.setBackgroundColor(getResources().getColor(android.R.color.white));
    }

    @Override
    protected void setupLogoImageView(ImageView imageView) {
        imageView.setImageResource(R.mipmap.ic_launcher);
    }

    @Override
    protected void setupAppNameTextView(TextView textView) {
        textView.setText(R.string.app_name);
        textView.setTextColor(getResources().getColor(R.color.txt_option_main_color));
    }

    @Override
    protected void setupSloganTextView(TextView textView) {
        textView.setText(R.string.app_slogon);
        textView.setTextColor(getResources().getColor(R.color.txt_option_main_color));
    }

    @Override
    protected void setupFirstImageView(ImageView imageView) {

    }
}